package com.zerdoor.model;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * Created by xiaoji on 2015/2/3.
 */
public class Tree {
    public int  id;
    public String text;
    public String state;
    public List<Tree> children = new ArrayList<Tree>();
    public Map<String,String> attributes;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public List<Tree> getChildren() {
        return children;
    }

    public void setChildren(List<Tree> children) {
        this.children = children;
    }

    public Map<String, String> getAttributes() {
        return attributes;
    }

    public void setAttributes(Map<String, String> attributes) {
        this.attributes = attributes;
    }
}
